package com.tj.collection.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.tj.collection.db.dao.AdminChatterDao;
import com.tj.collection.db.entity.AdminChatterEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* User: linqu
* Date: 2023-11-07
* Time: 17:17:08.648
*/

@Repository
public class AdminChatterDaoImpl extends AbstractBaseMapper<AdminChatterEntity> implements AdminChatterDao {

    @Override
    public List<AdminChatterEntity> listAdminChatterEntity(Long adminId) {
        return this.getSqlSession().selectList(this.getStatement("listAdminChatterEntity"), adminId);
    }

    @Override
    public List<AdminChatterEntity> listAllAdminChatterEntity() {
        return this.getSqlSession().selectList(this.getStatement("listAllAdminChatterEntity"));
    }
}